				<div class="section">
                <script type="text/javascript">
				$(document).ready(function(){
					$("input[type=text]").focus(function(){
						$(".error_red").html("").hide();
					});
					$("#okie").click(function(){
						$pass = $("#password").val();
						$repass = $("#repass").val();
						$funame = $("#name").val();
						$phone = $("#phone").val();
						$address = $("#adress").val();
						$email = $("#email").val();
						$obj = $(".error_red");
						$img = "<img src='<?php echo base_url(); ?>public/images/false-icon.jpg' style='margin:0px 5px 0px 0px;float:left' />";
						$trueimg = "<img src='<?php echo base_url(); ?>public/images/active_icon.gif' style='margin:0px 5px 0px 0px;float:left' />";
						if($pass != ""){
							if($pass.length < 5){
								$obj.html($img+"Password must be more than 5 characters");
								$obj.show();
								$("#password").focus(); return false;
							}
							if($repass == ""){
								$obj.html($img+"Please confirm your password");
								$obj.show();
								$("#repass").focus(); return false;
							}else{
								if($repass != $pass){
									$obj.html($img+"Confirm password not match");
									$obj.show();
									$("#repass").focus(); return false;
								}
							}
						}
						jQuery.post("<?php echo base_url(); ?>agency/user/ajax",{password:$pass,fullname:$funame,phone:$phone,address:$address,email:$email},function(result){
							if(result == "true"){
								$obj.html("<p style='color:green;font-weight:bold'>"+$trueimg+"Your information has been updated...</p>");
								$obj.show();
								$("#password").val("");
								$("#repass").val("");
								$("#name").val("");
								$("#phone").val("");
								$("#adress").val("");
								$("#email").val("");
							}else{
								$obj.html($img+""+result);
								$obj.show();
							}
						});
					});
				});	
				</script>
					<!--[if !IE]>start title wrapper<![endif]-->
					<div class="title_wrapper">
						<span class="title_wrapper_top"></span>
						<div class="title_wrapper_inner">
							<span class="title_wrapper_middle"></span>
							<div class="title_wrapper_content">
								<h2 class="menu_title">Your account</h2>
							</div>
						</div>
						<span class="title_wrapper_bottom"></span>
					</div>
					<div class="section_content">
						<span class="section_content_top"></span>
						
						<div class="section_content_inner">
                        	<div class="table_tabs_menu">
							</div>
				<!--[if !IE]>start table_wrapper<![endif]-->
							<div class="table_wrapper" style="background:none;">
								<div class="table_wrapper_inner">
                                	<div class="error_red" style="width:400px;margin:0px 0px 20px 45px;padding:0px 0px 10px 0px;text-align:left;border-bottom:1px solid #CCC;display:none"></div>
									<form action="javascript:void(0)" method="post" enctype="multipart/form-data">
                            		<div class="form_items">
                                    	<div class="form_items_left">Your name</div>
                                        <div class="form_items_right"><input type="text" id="username" name="username" size="30" value="<?php echo $info['username']; ?>" readonly="readonly" /></div>
                                    </div>
                                    <div class="form_items">
                                    	<div class="form_items_left">Password</div>
                                        <div class="form_items_right"><input type="password" id="password" name="password" size="30"  /></div>
                                    </div>
                                    <div class="form_items">
                                    	<div class="form_items_left">Confirm password</div>
                                        <div class="form_items_right"><input type="password" id="repass" name="repass" size="30"  /></div>
                                    </div>
                                    <div class="form_items">
                                    	<div class="form_items_left">Agency name <span class="reds">*</span></div>
                                        <div class="form_items_right"><input type="text" name="name" id="name" size="30" value="<?php echo $info['name']; ?>" /></div>
                                    </div>
                                    <div class="form_items">
                                    	<div class="form_items_left">Phone number <span class="reds">*</span></div>
                                        <div class="form_items_right"><input type="text" name="phone" id="phone" size="30" value="<?php echo $info['phone']; ?>" /></div>
                                    </div>
                                    <div class="form_items">
                                    	<div class="form_items_left">Your adress</div>
                                        <div class="form_items_right"><input type="text" name="adress" id="adress" size="30" value="<?php echo $info['adress']; ?>" /></div>
                                    </div>
                                    <div class="form_items">
                                    	<div class="form_items_left">Email adress <span class="reds">*</span></div>
                                        <div class="form_items_right"><input type="text" name="email" id="email" size="30" value="<?php echo $info['email']; ?>" /></div>
                                    </div>
                                    <div class="form_items">
                                    	<div class="form_items_left">&nbsp;</div>
                                        <div class="form_items_right"><input type="submit" id="okie" name="ok" value="Edit account" class="padding"  />
                                        <input type="reset" value="Reset" class="padding"  />
                                        </div>
                                    </div>
                                </form>
								</div>
							</div>
							<!--[if !IE]>end table_wrapper<![endif]-->
						</div>
						<span class="section_content_bottom"></span>
					</div>
					<!--[if !IE]>end section content<![endif]-->
				</div>